package com.qf.office.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 基础信息表
 */
@Data
@TableName(value = "basic_information")
public class BasicInformation {
    /**
     * 基础信息表id
     */
    @TableId(value = "basic_information_id", type = IdType.INPUT)
    private Integer basicInformationId;

    /**
     * 候选人id
     */
    @TableField(value = "candidate_id")
    private Integer candidateId;

    /**
     * 姓名
     */
    @TableField(value = "basic_name")
    private String basicName;

    /**
     * 手机号码
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 1男性，0女性
     */
    @TableField(value = "sex")
    private Integer sex;

    /**
     * 学历
     */
    @TableField(value = "education")
    private String education;

    /**
     * 籍贯
     */
    @TableField(value = "native_place")
    private String nativePlace;

    /**
     * 0表示未婚，1表示已婚
     */
    @TableField(value = "marital_status")
    private Integer maritalStatus;

    /**
     * 邮箱
     */
    @TableField(value = "postbox")
    private String postbox;

    /**
     * 出生日期
     */
    @TableField(value = "birthday")
    private Date birthday;

    /**
     * 工作经验
     */
    @TableField(value = "work_experience")
    private String workExperience;

    /**
     * 居住地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 0表示群众，1表示团员，2表示党员
     */
    @TableField(value = "politics_status")
    private Integer politicsStatus;

    /**
     * qq号码
     */
    @TableField(value = "qq_number")
    private Integer qqNumber;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 0正常 1删除
     */
    @TableField(value = "del_status")
    private Integer delStatus;

    public static final String COL_BASIC_INFORMATION_ID = "basic_information_id";

    public static final String COL_CANDIDATE_ID = "candidate_id";

    public static final String COL_BASIC_NAME = "basic_name";

    public static final String COL_PHONE = "phone";

    public static final String COL_SEX = "sex";

    public static final String COL_EDUCATION = "education";

    public static final String COL_NATIVE_PLACE = "native_place";

    public static final String COL_MARITAL_STATUS = "marital_status";

    public static final String COL_POSTBOX = "postbox";

    public static final String COL_BIRTHDAY = "birthday";

    public static final String COL_WORK_EXPERIENCE = "work_experience";

    public static final String COL_ADDRESS = "address";

    public static final String COL_POLITICS_STATUS = "politics_status";

    public static final String COL_QQ_NUMBER = "qq_number";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_DEL_STATUS = "del_status";
}